package org.budo.vms.service.huawei;

import java.io.File;
import java.io.FileInputStream;

import org.apache.poi.xssf.usermodel.XSSFCell;
import org.apache.poi.xssf.usermodel.XSSFRow;
import org.apache.poi.xssf.usermodel.XSSFSheet;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;

/**
 * @author lmw
 */
public class HuaweiVmsServiceTest_读列表 {
    public static void main(String[] args) throws Throwable {
        XSSFWorkbook hssfWorkbook = new XSSFWorkbook(new FileInputStream(new File(HuaweiVmsServiceTest_发.FILE_FROM)));
        XSSFSheet sheetAt = hssfWorkbook.getSheetAt(0);

        for (int i = 1; i < sheetAt.getPhysicalNumberOfRows(); i++) {
            XSSFRow row = sheetAt.getRow(i);
            XSSFCell cell = row.getCell(2);

            System.err.println(cell.toString().trim());
        }

        hssfWorkbook.close();
    }
}